#pragma once
#include <stdio.h>
#include "ENUM.h"
#include "Command.h"
#include "ServerComm.h"
#include "GameState.h"
#include "Definitions.h"

#include "FakeGameState.h"

class Controller
{
private:
	Command			Cmd;
	ServerComm		Ser;
	GameState*		p_game[NUM_MAX_CLIENTS];
	FakeGameState*		fakegame[NUM_MAX_CLIENTS];
	bool			isRunning;
	CMD_TYPE		newGame;
public:
	void Run();		//begin controller process
	bool Send();	//send and recieve messages to GameState
	Controller();
	~Controller();
};